﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Webtest_view
{
    public partial class ajax_test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text = "ajax Typed page" + DateTime.Now.ToLongTimeString();
        }

        protected void UpdateButton_Click(object sender, EventArgs e)
        {

            System.Threading.Thread.Sleep(5000);
        }
        protected void UpdateTimer_Tick(object sender, EventArgs e)
        {
            DateStampLabel.Text = DateTime.Now.ToString();
        }
    }
}
